package com.cnhis.cloudhealth.clinical.clidoctor.basicinformationquery.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.dao.BaseDao;
import java.util.HashMap;
import com.cnhis.cloudhealth.commons.utils.Page;
import com.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat;
@Repository
public class BasicInformationQueryDao extends BaseDao {
	public List treatmentItemQuery(Map map)throws Exception{
		return this.queryForList("BasicInformationQuery.treatmentItemQuery", map);
	}
	public Page queryPrescriptionType(int currPage,int pageSize)throws Exception{
		return this.queryForPage("BasicInformationQuery.queryPrescriptionType", null, currPage, pageSize);
	}
	public Page illnessDirectory(Map map,int currPage,int pageSize)throws Exception{
		return this.queryForPage("BasicInformationQuery.illnessDirectory", map, currPage, pageSize);
	}
	public Page chineseMedicineTreatment(int currPage,int pageSize)throws Exception{
		return this.queryForPage("BasicInformationQuery.chineseMedicineTreatment", null, currPage, pageSize);
	}
	public Page feeItem(Map map,int currPage,int pageSize)throws Exception{
		return this.queryForPage("BasicInformationQuery.feeItem", map, currPage, pageSize);
	}
	public Page defaultPharmacy(Map map,int currPage,int pageSize)throws Exception{
		return this.queryForPage("BasicInformationQuery.defaultPharmacy", map, currPage, pageSize);
	}
    public List zhixingkeshi1(HashMap map) throws Exception
    {
        return this.queryForList("BasicInformationQuery.zhixingkeshi1", map);
    }
    public void updateProc(Map<String, Object> map) throws Exception
    {
        this.update("BasicInformationQuery.execProc", map);
    }
    public void updateProc1(Map<String, Object> map) throws Exception
    {
        this.queryForList("BasicInformationQuery.execProc1", map);
    }
}
